import myrequest from './request_tool'
const ApplicationCreateApplications = (data) =>{ return myrequest.myrequest("Applications/CreateApplications",data)}
const ApplicationGetPassed = (data) =>{ return myrequest.myrequest("Applications/GetPassed",data)}
const ApplicationQueryMyApplication = (data) =>{ return myrequest.myrequest("Applications/QueryMyApplication",data)}
const ApplicationQueryUserApplication = (data) =>{ return myrequest.myrequest("Applications/QueryUserApplication",data)}
const ApplicationCancelApplication = (data) =>{ return myrequest.myrequest("Applications/CancelApplication",data)}
const ApplicationGetApplication = (data) =>{ return myrequest.myrequest("Applications/GetApplication",data)}
const ApplicationUpdateApplication = (data) =>{ return myrequest.myrequest("Applications/UpdateApplication",data)}
const ApplicationUploadApplicationFile = (file,data)=>{return myrequest.myuploadfile("Applications/UploadApplicationFile",file,data)}
const UserRegister = (data) =>{ return myrequest.myrequest("User/Register",data)}
const UserLogin = (data) =>{ return myrequest.myrequest("User/Login",data)}
const UserUpdateInfo = (data) =>{ return myrequest.myrequest("User/UpdateInfo",data)}
const User = (data) =>{ return myrequest.myrequest("User/",data)}
const UserFileAPI = (data) =>{ return myrequest.myrequest("User/FileAPI",data)}
const UserUpdatePassword = (data) =>{ return myrequest.myrequest("User/UpdatePassword",data)}
const UserUpdateAvatar = (file,data)=>{return myrequest.myuploadfile("User/UpdateAvatar",file,data)}
const UserQueryUserInfo = (data) =>{ return myrequest.myrequest("User/QueryUserInfo",data)}
const UserActiveUser = (data) =>{ return myrequest.myrequest("User/ActiveUser",data)}
export default {
 ApplicationCreateApplications,
ApplicationQueryMyApplication,
ApplicationQueryUserApplication,
ApplicationCancelApplication,
ApplicationGetApplication,
ApplicationUpdateApplication,
ApplicationUploadApplicationFile,
ApplicationGetPassed,
UserRegister,
UserLogin,
UserUpdateInfo,
User,
UserFileAPI,
UserUpdatePassword,
UserUpdateAvatar,
UserQueryUserInfo,
UserActiveUser
 
}